package charles.testproject.vecor;

import java.util.Vector;

public class VectorUsetage {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Vector testVector = new Vector(4,2);
		testVector.add("1");
		testVector.add("2");
		testVector.add("3");
		testVector.add("4");
		testVector.add("5");
		
		System.out.println(testVector.size());
		System.out.println(testVector.capacity());
		
		testVector.add("6");
		
		System.out.println("*********************");
		System.out.println(testVector.size());
		System.out.println(testVector.capacity());
		
	}

}
